Skip to contentSkip to conversation

Booting TrueCrypt Windows Hard Drive

DISCUSSION Rob Power 3 participants 6 messages Nov 27, 2009

lore
Share & tools
lore

Rob Power

author
#0 lore raw

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with Truecrypt.
There's a bug report related to this problem here (
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by another user.

With grub-legacy everything works well: It chainloads the XP Truecrypt boot manager from a dump file. Here's the old menu.lst. ------------------- menu.lst ---------------------------
title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options > Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry.
-------------------- grub.cfg ---------------------------

menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr

-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to use drivemap for partitions? I suppose it's only for drives.
Is there another workaround? I'll be glad to try it on my system to find the solution.
Thanks in advance.
Rob

#1 lore raw
Quoted 10 lines · Rob Power

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with Truecrypt.
There's a bug report related to this problem here
(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by another user.

You have posted the same bug report to the same list twice in last two days. Most people (including) just didn't have time yet to read through list and your double posting isn't making it easier. Your problem is that truecrypt booter and grub conflict for the use of mbr gap. Best solution to this problem is to make truecrypt multiboot-compliant. I shouldn't be difficult (you can have a look at how it was recently done in Haiku) but I won't spend any of my time on it

Quoted 37 lines

With grub-legacy everything works well: It chainloads the XP Truecrypt boot manager from a dump file. Here's the old menu.lst. ------------------- menu.lst --------------------------- title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options > Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry. -------------------- grub.cfg ---------------------------

menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr

-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to use drivemap for partitions? I suppose it's only for drives. Is there another workaround? I'll be glad to try it on my system to find the solution.
Thanks in advance.
Rob
------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
author
#2 lore raw

Sorry for the double post, but I didn't get the mail back, so I thought I made a mistake in the sending.
Thanks anyway.
Rob

2009/11/27 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]>

Quoted 69 lines
Quoted 10 lines · Rob Power

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with Truecrypt.
There's a bug report related to this problem here
(https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by another user.

You have posted the same bug report to the same list twice in last two days. Most people (including) just didn't have time yet to read through list and your double posting isn't making it easier. Your problem is that truecrypt booter and grub conflict for the use of mbr gap. Best solution to this problem is to make truecrypt multiboot-compliant. I shouldn't be difficult (you can have a look at how it was recently done in Haiku) but I won't spend any of my time on it

Quoted 32 lines

With grub-legacy everything works well: It chainloads the XP Truecrypt boot manager from a dump file. Here's the old menu.lst. ------------------- menu.lst --------------------------- title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options > Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry. -------------------- grub.cfg ---------------------------

menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr

-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to use drivemap for partitions? I suppose it's only for drives. Is there another workaround? I'll be glad to try it on my system to find the solution.
Thanks in advance.
Rob
------------------------------------------------------------------------

Quoted 5 lines

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw

Am Freitag, den 27.11.2009, 13:11 +0100 schrieb Rob Power:

Quoted 5 lines

Sorry for the double post, but I didn't get the mail back, so I thought I made a mistake in the sending.
Thanks anyway.
Rob

Ah I just noticed you use google mail for the list.
I did that shortly once too and even though I had the list settings to get my own mails back, Google seemed to discard my own list replies.

Checking the list archives always works, but it needs time until the recent mails show up:
http://lists.gnu.org/archive/html/grub-devel/

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
author
#4 lore raw
In reply to Rob Power

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with Truecrypt.
There's a bug report related to this problem here (
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by another user.

With grub-legacy everything works well: It chainloads the XP Truecrypt boot manager from a dump file. Here's the old menu.lst. ------------------- menu.lst ---------------------------
title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options > Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry.
-------------------- grub.cfg ---------------------------

menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr

-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to use drivemap for partitions? I suppose it's only for drives.
Is there another workaround? I'll be glad to try it on my system to find the solution.
Thanks in advance.
Rob

#5 lore raw

Am Freitag, den 27.11.2009, 12:52 +0100 schrieb Rob Power:

Quoted 4 lines

Hi to all!
I have a similar problem with this configuration:

As Vladimir just replied 1 minute ago this mail to your 2nd reply, there's absolutely no need to post, now 3 times, the same mail. Seems like your mail system is broken, so I CC you this time. Sending the same mail over and over again, only _de_creases the chances that someone is willing to look at it.

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer